package com.aiti.lulian.service.impl;

import com.aiti.lulian.dto.gonxin.SupplyAndDemandDto;
import com.aiti.lulian.mapper.gongxin.SupplyAndDemandDatabaseMapper;
import com.aiti.lulian.service.ISupplyAndDemandDatabaseService;
import com.aiti.lulian.vo.gongxin.SupplyAndDemandVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SupplyAndDemandDatabaseServiceImpl implements ISupplyAndDemandDatabaseService {

    @Autowired
    private SupplyAndDemandDatabaseMapper supplyAndDemandDatabaseMapper;

    @Override
    public List<SupplyAndDemandVo> list(Page<SupplyAndDemandVo> page, SupplyAndDemandDto dto) {
        return supplyAndDemandDatabaseMapper.selectList(page, dto);
    }
}